package cn.topevery.garden.dal.dao;

import cn.topevery.garden.entity.po.Community;
import cn.topevery.garden.entity.query.CommunityQuery;
import cn.topevery.garden.entity.vo.CommunityVO;
import cn.topevery.garden.framework.base.BaseDao;
import hw.topevery.framework.db.entity.DataPager;

import java.util.List;
import java.util.Map;

/**
 * 群落表
 *
 * @author code-generate
 * @date 2022-01-05
 */
public interface CommunityDao extends BaseDao<Community> {

    

    /**
     * 获取列表
     *
     * @param query
     */
    DataPager<CommunityVO> listPage(CommunityQuery query);

    Community getEntityByColumn(String key,String value);

    List<Community> getList();

    List<Map<String,Object>> listMaps();
}
